﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KinTN_WMS_CL.Model
{
    /// <summary>
    /// 字典表
    /// </summary>
    [Table("Dictionarys")]
    public class Dictionarys : ModelBase
    {
        /// <summary>
        /// 名称
        /// </summary>
        [Required]
        [Column("Name")]
        public string Name { get; set; }

        /// <summary>
        /// 英文名称
        /// </summary>
        [Column("EngName")]
        public string? EngName { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        [Required]
        [Column("Type")]
        public string Type { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [Required]
        [Column("Sort")]
        public int Sort { get; set; }
    }
}
